package com.chalk.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.chalk.model.SportEvent;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class VenueVo {

    private Integer venueId;


    @NotBlank(message = "场馆名称不能为空！")
    private String venueName;

    @NotBlank(message = "场馆地址不能为空！")
    private String venueSite;


    @NotBlank(message = "场馆背景图不能为空")
    private String venuePic;

    @NotBlank(message = "场馆联系电话不能为空！")
    private String venuePhone;


    private LocalDateTime createTime;


    private LocalDateTime updateTime;


    private Integer isDelete;

    @NotBlank(message = "场馆经度不能为空！")
    private String longitude;

    @NotBlank(message = "场馆维度不能为空！")
    private String dimension;


    private Integer isRecommend;


    private String venueNotice;


    private Long distance;


    private Boolean scoreFlag;


    private Double score;


    private List<SportEvent> sportEvents;

    @NotNull(message = "项目id不能为空")
    private List<Integer> seIds;


}
